 Description
Description
When parent element is ArcPad, MAP is used in ArcPad map files (*.apm) to define maps. When parent element is SYSTEMOBJECTS, MAP is used to specify scripts to call when Map object events occur.
            
            
             Diagram
Diagram
             Overview
Overview
    
        
            |  | 
                    MAP
                    
                        When parent element is ArcPad, MAP is used in ArcPad map files (*.apm) to define maps. When parent element is SYSTEMOBJECTS, MAP is used to specify scripts to call when Map object events occur.
                     
                    
                        
                            
                                |  | 
                                        onafterdraw optional xs:string 
                                            Specify the script to run when this event occurs.
                                         |  
                        
                            
                                |  | 
                                        onafterlayerdraw optional xs:string 
                                            Specify the script to run when this event occurs.
                                         |  
                        
                            
                                |  | 
                                        onbeforedraw optional xs:string 
                                            Specify the script to run when this event occurs.
                                         |  
                        
                            
                                |  | 
                                        onbeforelayerdraw optional xs:string 
                                            Specify the script to run when this event occurs.
                                         |  
                        
                            
                                |  | 
                                        onclose optional xs:string 
                                            Specify the script to run when this event occurs
                                         |  
                        
                            
                                |  | 
                                        ondrawingcancelled optional xs:string 
                                            Specify the script to run when this event occurs.
                                         |  
                        
                            
                                |  | 
                                        onfeatureadded optional xs:string 
                                            Specify the script to run when this event occurs.
                                         |  
                        
                            
                                |  | 
                                        onfeaturechanged optional xs:string 
                                            Specify the script to run when this event occurs.
                                         |  
                        
                            
                                |  | 
                                        onfeaturedeleted optional xs:string 
                                            Specify the script to run when this event occurs.
                                         |  
                        
                            
                                |  | 
                                        onfeaturegeometrychanged optional xs:string 
                                            Specify the script to run when this event occurs.
                                         |  
                        
                            
                                |  | 
                                        onidentify optional xs:string 
                                            Specify the script to run when this event occurs.
                                         |  
                        
                            
                                |  | 
                                        onnew optional xs:string 
                                            Specify the script to run when this event occurs.
                                         |  
                        
                            
                                |  | 
                                        onopen optional xs:string 
                                            Specify the script to run when this event occurs
                                         |  
                        
                            
                                |  | 
                                        onpointerdown optional xs:string 
                                            Specify the script to run when this event occurs.
                                         |  
                        
                            
                                |  | 
                                        onpointermodechanged optional 
                                            Specify the script to run when this event occurs.
                                         |  
                        
                            
                                |  | 
                                        onpointermove optional xs:string 
                                            Specify the script to run when this event occurs.
                                         |  
                        
                            
                                |  | 
                                        onpointerup optional xs:string 
                                            Specify the script to run when this event occurs.
                                         |  
                        
                            
                                |  | 
                                        onsave optional xs:string 
                                            Specify the script to run when this event occurs.
                                         |  
                        
                            
                                |  | 
                                        onselectionchanged optional xs:string 
                                            Specify the script to run when this event occurs.
                                         |  | 
    
 Attributes
Attributes
| Name | Type | Use | Default | Fixed | Description | 
|---|
| onafterdraw | xs:string | optional |  |  | Specify the script to run when this event occurs. | 
| onafterlayerdraw | xs:string | optional |  |  | Specify the script to run when this event occurs. | 
| onbeforedraw | xs:string | optional |  |  | Specify the script to run when this event occurs. | 
| onbeforelayerdraw | xs:string | optional |  |  | Specify the script to run when this event occurs. | 
| onclose | xs:string | optional |  |  | Specify the script to run when this event occurs | 
| ondrawingcancelled | xs:string | optional |  |  | Specify the script to run when this event occurs. | 
| onfeatureadded | xs:string | optional |  |  | Specify the script to run when this event occurs. | 
| onfeaturechanged | xs:string | optional |  |  | Specify the script to run when this event occurs. | 
| onfeaturedeleted | xs:string | optional |  |  | Specify the script to run when this event occurs. | 
| onfeaturegeometrychanged | xs:string | optional |  |  | Specify the script to run when this event occurs. | 
| onidentify | xs:string | optional |  |  | Specify the script to run when this event occurs. | 
| onnew | xs:string | optional |  |  | Specify the script to run when this event occurs. | 
| onopen | xs:string | optional |  |  | Specify the script to run when this event occurs | 
| onpointerdown | xs:string | optional |  |  | Specify the script to run when this event occurs. | 
| onpointermodechanged |  | optional |  |  | Specify the script to run when this event occurs. | 
| onpointermove | xs:string | optional |  |  | Specify the script to run when this event occurs. | 
| onpointerup | xs:string | optional |  |  | Specify the script to run when this event occurs. | 
| onsave | xs:string | optional |  |  | Specify the script to run when this event occurs. | 
| onselectionchanged | xs:string | optional |  |  | Specify the script to run when this event occurs. | 
Remarks
			 Examples
Examples
		
			
			
			
			 Source
Source
| <xs:element name="MAP" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:complexType>
    <xs:attribute ref="onafterdraw">
      <xs:annotation>
        <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute ref="onafterlayerdraw" />
    <xs:attribute ref="onbeforedraw">
      <xs:annotation>
        <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute ref="onbeforelayerdraw">
      <xs:annotation>
        <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute ref="onclose" />
    <xs:attribute ref="ondrawingcancelled">
      <xs:annotation>
        <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute ref="onfeatureadded">
      <xs:annotation>
        <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute ref="onfeaturechanged">
      <xs:annotation>
        <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute ref="onfeaturedeleted">
      <xs:annotation>
        <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute ref="onfeaturegeometrychanged">
      <xs:annotation>
        <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute ref="onidentify">
      <xs:annotation>
        <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute ref="onnew">
      <xs:annotation>
        <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute ref="onopen">
      <xs:annotation>
        <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute ref="onpointerdown">
      <xs:annotation>
        <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute ref="onpointermodechanged">
      <xs:annotation>
        <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute ref="onpointermove">
      <xs:annotation>
        <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute ref="onpointerup">
      <xs:annotation>
        <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute ref="onsave">
      <xs:annotation>
        <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute ref="onselectionchanged">
      <xs:annotation>
        <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
</xs:element> | 
 See Also
See Also